﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using ylyfDataCommon.Exceptions;

namespace ylyfDataCommon.Cypher
{
    public abstract class CypherProvider
    {
        public abstract string Encryption(string str,string KEY=null,string IV=null);

        public virtual string Decryption(string str, string KEY = null, string IV = null)
        {
            throw new DecryptionNotSupportException();
        }
    }
}
